package ss.pku.meeting.entities;


public class TempStatus {
    private int roomId;

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public int getSlot1() {
        return slot1;
    }

    public void setSlot1(int slot1) {
        this.slot1 = slot1;
    }

    public int getSlot2() {
        return slot2;
    }

    public void setSlot2(int slot2) {
        this.slot2 = slot2;
    }

    private int slot1;
    private int slot2;
    private Boolean[] s = new Boolean[5];
    private boolean s1;
    private boolean s2;
    private boolean s3;
    private boolean s4;
    private boolean s5;


    public void getStatus() {
        for (int i = 0; i < 5; i++) {
            s[i] = i < slot1 || i > slot2;
        }
        s1 = s[0];
        s2 = s[1];
        s3 = s[2];
        s4 = s[3];
        s5 = s[4];
    }
}
